package com.ligotop;

import com.ligotop.core.configs.TestConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableConfigurationProperties(TestConfig.class)
@EnableTransactionManagement
@SpringBootApplication
//@MapperScan("com.ligotop.**.mapper") //配置扫描mapper接口的地址
public class BaseApplication {

	public static void main(String[] args) {
		SpringApplication.run(BaseApplication.class, args);
	}
}
